package com.tuyrt.`as`.proj.main.http.api

import com.tuyrt.`as`.proj.main.model.GoodsList
import com.tuyrt.hi.library.restful.HiCall
import com.tuyrt.hi.library.restful.annotation.Field
import com.tuyrt.hi.library.restful.annotation.GET
import com.tuyrt.hi.library.restful.annotation.Path

/**
 * author: Administrator on 2021/7/8.
 * desc:
 */
interface GoodsApi {

    @GET("goods/goods/{categoryId}")
    fun queryCategoryGoodsList(
        @Path("categoryId") categoryId: String,
        @Field("subcategoryId") subcategoryId: String,
        @Field("pageIndex") pageIndex: Int,
        @Field("pageSize") pageSize: Int,
    ):HiCall<GoodsList>
}